package com.itany.netclass.service;

import com.itany.netclass.entity.User;
import com.itany.netclass.exception.*;

/**
 * Author:sjy@itany.com
 * Date:21-10-20 上午11:33
 * Version:1.0-SNAPSHOT
 * Description:
 */
public interface FrontMainControllerService {
    public User login(String username, String password) throws NameOrPasswordException, ServiceException;

    public void jianchaUsername(String username) throws NullSringException, TpyeException, EmailExistException, ServiceException;

    public void jianchaPassword(String password) throws NullSringException, TpyeException, ServiceException;

    public void jiancharePassword(String Password, String rePassword) throws NullSringException, TpyeException, ServiceException;

    public void jiachaNickname(String nickname) throws NullSringException, ServiceException;

    public void jianchaEmil(String email) throws TpyeException, NullSringException, EmailExistException, ServiceException;

    public void addUser(String username, String password, String nickname, String email) throws ServiceException;
}
